
<script lang="jsx">
import {ref } from 'vue'
export default {
    name: 'Jsx',
    setup(props) {
        const  counter = ref(0)
        const jsxClick = () => {
            counter.value++
        }
        return () => (
            <>
                <h1 onClick={jsxClick}>jsx</h1>
                <p >{counter.value}</p>
            </>
        )
        
    }
}
</script>
<style scoped></style>